<?php

/**
 * Description of Databidang
 *
 * @author DENY PRASETIA TW
 * http://denyprasetiatw.blogspot.com/
 * Created Feb 10, 2012 - 9:43:10 PM
 */

if($this->session->userdata('s_hakakses') == NULL){
    redirect();
}

?>

<div align="center">
    <table border="1" cellpadding="5">
        <thead>
            <tr>
                <th><b>KODE</b></th>
                <th><b>NAMA BIDANG</b></th>
                <th><b>POKOK MASALAH</b></th>
            </tr>
        </thead>
        <tbody>
        <?php foreach($daftarbidang as $row){
         echo "<tr>";
            echo "<td>".$row->IDBIDANG."</td>";
            echo "<td>".$row->NAMABIDANG."</td>";
            echo "<td>".anchor('site/validasiTampilkanPokok/'.$row->IDBIDANG,'detail')."</td>";
         echo "</tr>";
        } ?>
        </tbody>
    </table>
</div>